<?php
/**
 * Author:   tangxiaowen
 * Email:    846506584@qq.com
 * Date:     2019/3/13 0013
 * Describe: ping支付验证类
 */

namespace app\api\validate;

use think\Validate;

class Ping extends Validate
{
    protected $rule = [
        'orderNo'      => 'require',
        'payType'      => 'require',
    ];

    protected $message = [
        'orderNo'      => ['require' => '订单编号不能为空'],
        'payType'      => ['require' => '请选择支付类型'],
    ];

    protected $scene = [
        'pay'       => ['orderNo','payType'],
    ];

}